package killer.admin.service;

import killer.admin.model.AdminDao;
import killer.admin.model.AdminVO;

public class AdminServiceImpl implements AdminService{
	private AdminDao adminDao;
	
	public AdminServiceImpl(AdminDao adminDao) {
		this.adminDao = adminDao;
	}

	@Override
	public AdminVO loginAdmin(AdminVO paramAvo) {
		return adminDao.selectAdminByIdAndPassword(paramAvo);
	}

}
